package org.opsli.modulars.business.iot.protocol;

/**
 * @author sst
 * @version V1.0
 * @Package com.lysoft.monitoring.iot.protocol
 * @date 2019-08-23 14:00
 * 监测数据
 */
public class Dev {
    private byte type;
    private byte dot;
    private byte unit;
    private int val;
    private byte state;

    public Dev(byte type, byte dot, byte unit, int val, byte state) {
        this.type = type;
        this.dot = dot;
        this.unit = unit;
        this.val = val;
        this.state = state;
    }

    public byte getType() {
        return type;
    }

    public void setType(byte type) {
        this.type = type;
    }

    public byte getDot() {
        return dot;
    }

    public void setDot(byte dot) {
        this.dot = dot;
    }

    public byte getUnit() {
        return unit;
    }

    public void setUnit(byte unit) {
        this.unit = unit;
    }

    public int getVal() {
        return val;
    }

    public void setVal(int val) {
        this.val = val;
    }

    public byte getState() {
        return state;
    }

    public void setState(byte state) {
        this.state = state;
    }
}
